include_directories(${CMAKE_SOURCE_DIR}/src/)
file (GLOB_RECURSE SERVER_SRC_FILES ${CMAKE_CURRENT_SOURCE_DIR}/*.cpp ${CMAKE_CURRENT_SOURCE_DIR}/*.cc)
include_directories(.)

add_executable(test_config_client ${SERVER_SRC_FILES})
target_link_libraries(test_config_client PRIVATE xplatform protobuf protoc lxmysql)
target_link_libraries(test_config_client PRIVATE config_client register_client)
if(WIN32)
  target_link_libraries(test_config_client PRIVATE ws2_32)
endif()
set_out_path(test_config_client)
set_runtime_name(test_config_client)